package com.kj.tms.pri.system.org.service;


import com.kj.tms.common.bean.dto.TreeData;
import com.kj.tms.pri.system.org.dto.IndustryInfoDto;

import java.util.List;

/**
 * @ProjectName:
 * @Package: com.hongtu.tms.system.org.service
 * @ClassName: 所属行业信息IndustryInfoService
 * @Description:
 * @Author: 董世栋
 * @CreateDate:
 * @UpdateUser:
 * @UpdateDate:
 * @UpdateRemark:
 * @Version: 1.0
 * Copyright: 北京宏图天安 Copyright (c) 2017
 */
public interface IndustryInfoService {
    /**
     * @param id
     * @return List<Object>
     * @throws
     * @method listByPindustryCode
     * @description 通过上级代码获取行业信息
     * @author 董世栋
     * @version 1.0
     * @date
     */
    List<TreeData> listByPindustryCode(String id);

    /**
     * @param industryCode
     * @return IndustryInfoDto
     * @throws
     * @method getByCode
     * @description 通过子节点代码获取行业信息
     * @author 董世栋
     * @version 1.0
     * @date
     */
    IndustryInfoDto getByCode(String industryCode);

    /**
     * @param industryCode
     * @return industryName
     * @throws
     * @method getIndustryName
     * @description 获取行业信息name
     * @author 董世栋
     * @version 1.0
     * @date
     */
    String getIndustryName(String industryCode);
}
